package com.zxx.retrofit.net;

import com.zxx.retrofit.bean.LoginUser;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by xw on 2016/11/1.
 */
public interface BombApi {

    /**
     * Application ID，SDK初始化必须用到此密钥
     * REST API Key，REST API请求中HTTP头部信息必须附带密钥之一
     * Secret Key，是SDK安全密钥，不可泄漏，在云端逻辑测试云端代码时需要用到
     * Master Key，超级权限Key。应用开发或调试的时候可以使用该密钥进行各种权限的操作，此密钥不可泄漏
     */
    public final static String BASE_URL = "https://api.bmob.cn";
    public static final String applicationId = "73b69a0dc5e761745e0ff77ff0b3e2cb";
    public static final String resetApiKey = "f2fda5348b69be01954edb2af8fd1a56";
    public static final String searchKey = "8a596300b6393e30";
    public static final String masterKey = "a2d0ac2d26e1a220b6a0f3be4eb8fcf5";

    @GET("/1/classes/LoginUser/{objectId}")
    Call<LoginUser> queryUser(@Path("objectId") String objectId);
}
